﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace blacksoft.Models
{
    public class Reset
    {
        [Required]
        [StringLength(15)]
        [DataType(DataType.Password)]
        [RegularExpression(@"^[a-zA-Z0-9]*$", ErrorMessage = "Solo se permiten caracteres alfanuméricos")]
        [Display(Name = "Contraseña del Administrador")]


        public string ContraseñaNueva { get; set; }
        [Display(Name = "Persona")]
        public int IdPersona { get; set; }
        public string Nombre { get; set; }
        [Display(Name = "Apellido Paterno")]
        public string ApellidoPaterno { get; set; }
        [Display(Name = "Apellido Materno")]
        public string ApellidoMaterno { get; set; }
        [Display(Name = "Cargo")]
        public string CargoPersonal { get; set; }
    }
}